[Top] [Prev] [Next] [Bottom] [Contents]

SaVbsLenNe

Prints a VB Script statement to check if the length of an argument is not equal to a specified value and a newline character to standard out.

Synopsis

#include "savbs.h"
int SaVbsLenNe(char* msg);

Argument

msg
A string specifying a character or variable whose length is checked against the specified value.
int
The value of length to check against.

Return Values

Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.

Description

Prints a VB Script statement to check if the length of an argument is not equal to a specified value and a newline character to standard out.

Example

The code fragment:

SaVbsLenNe("ch", 19);
will write:

If Len(ch) = 0 Then\n
to the output stream.

See Also

SaVbsB, SaVbsCommE, SaVbsE, SaVbsEndIf, SaVbsFuncTrue, SaVbsFuncFalse, SaVbsMsgBox, SaVbsPrint, SaVbsIsLower, SaVbsIsUpper, SaVbsNotDigit, SaVbsLenZero, SaVbsStdFor, SaVbsCommB, SaVbsExitF, SaVbsEndF, SaVbsNext, SaVbsElse, SaVbsDecl, SaVbsNTabs, SaVbsNLines



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.